package midianet.digital.visao.controle;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.ViewScoped;

import midianet.digital.modelo.negocio.UfBO;

@ManagedBean(name = "manterMunicipioMB")
@ViewScoped
public class ManterMunicipioMB {
	
	private String nome;
	
	@ManagedProperty("#{manterMunicipioAS}")
	private UfBO manterMunicipioAS;
	
	public void setManterMunicipioAS(final UfBO as) {
		this.manterMunicipioAS = as;
	}
	
	@PostConstruct
	public void inicial(){

	}
	
	public String getNome() {
		return nome;
	}
	
	public void setNome(String nome) {
		this.nome = nome;
	}
	
	
	public void teste(){
		//nome = manterMunicipioAS.pegaNome();
	}
	
}